<%--
  Created by IntelliJ IDEA.
  User: 86189
  Date: 2023/4/24
  Time: 19:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
   <%
       Object name=session.getAttribute("username");
       if(name!=null)
       {
   %>   welcome,<%
           String s = (String)(name).toString();
           out.print(s);
       } else
         response.sendRedirect("/html/register.html");
    %>
</body>
</html>
